//
//  SunMyMsgVC.m
//  Xspcf
//
//  Created by sunshine on 16/10/30.
//  Copyright © 2016年 小小算盘. All rights reserved.
//

#import "SunMyMsgVC.h"

@interface SunMyMsgVC ()
{
    UIView *_blank;
}
@end

@implementation SunMyMsgVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"我的消息";
    self.view.backgroundColor = BACKGROUND;
    [self creatBlank];
    // Do any additional setup after loading the view.
}

- (void)creatBlank{
    _blank = [[UIView alloc]init];
    [self.view addSubview:_blank];
    [_blank lt_All:SunEdgesMake(0, 0, 0, 0) save:YES];
    _blank.backgroundColor = BACKGROUND;
    UIImageView *img = [[UIImageView alloc]init];
    [_blank addSubview:img];
    [img lt_XcenterTo:nil save:YES];
    img.image = [UIImage imageNamed:@"third_order_blank"];
    UILabel *label = [[UILabel alloc]init];
    [_blank addSubview:label];
    [label lt_XcenterTo:nil save:YES];
    [label lt_setTop:Y(18) to:img save:YES];
    [label lt_layoutView:label side:SunCenterY to:nil toSide:SunCenterY withSize:1 offset:Y(20) save:YES];
    label.textColor = GRAY;
    label.font = [UIFont systemFontOfSize:19];
    label.text = @"暂无相关记录！";
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
